<?php
class Validate{
	public static function emailFilter($email){
		return preg_match("/^([a-zA-Z0-9])+([\.a-zA-Z0-9_-])*@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)*\.([a-zA-Z]{2,6})$/", $email);
	}
	
	public static function intFilter($int){
		return filter_var($int, FILTER_VALIDATE_INT)?TRUE:FALSE;
	}
	
	public static function booleanFilter($boolean){
		return filter_var($boolean, FILTER_VALIDATE_BOOLEAN)?TRUE:FALSE;
	}
}
?>